package com.tour.service.impl;

import com.tour.dao.TestDao;
import com.tour.service.TestService;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName TestServiceImpl
 * @Author 张梦兴
 * @Date 2020/3/9 18:13
 * @describe
 */
@Service
public class TestServiceImpl implements TestService {
    Logger log=Logger.getLogger(TestServiceImpl.class);
    @Autowired
    private TestDao dao;
    @Override
    public Object getTest() {
        log.debug("测试日志");
        return dao.getTest();
    }
}
